home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Corrida / PMGRacing.swf / scripts / DefineButton2_198 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2001-07-07  |  581 b   |  30 lines

  1. on(release){
  2.    if(car ne "" and user_name ne "")
  3.    {
  4.       gotoAndStop(12);
  5.    }
  6.    else
  7.    {
  8.       tellTarget("/quarterview")
  9.       {
  10.          gotoAndStop(1);
  11.       }
  12.       tellTarget("/stats_hotrod")
  13.       {
  14.          gotoAndStop(1);
  15.          tellTarget("/stats_hummer")
  16.          {
  17.             gotoAndStop(1);
  18.             tellTarget("/stats_hovercraft")
  19.             {
  20.                gotoAndStop(1);
  21.                tellTarget("/stats_buggy")
  22.                {
  23.                   gotoAndStop(1);
  24.                }
  25.             }
  26.          }
  27.       }
  28.    }
  29. }
  30.